/*
 * Copyright (C) 2004, Velocityme Partnership
 * SystemPropertiesActionForm.java
 *
 * Created on 08 October 2004, 07:38
 */

package com.velocityme.www.actionforms;

import java.util.Collection;
import java.util.Map;
import java.util.TreeMap;
import org.apache.struts.action.ActionForm;

/**
 *
 * @author  Robert
 */
public class MappedObjectsActionForm extends ActionForm {
    
    private Map<String,Object> m_map = new TreeMap<String,Object>();
    
    /** Creates a new instance of SystemPropertiesActionForm */
    public MappedObjectsActionForm() {
    }
    
    public Collection<String> getKeys() {
        return m_map.keySet();
    }
    
    public Object getObject(String key) {
        return m_map.get(key);
    }
    
    public void setObject(String key, Object object) {
        m_map.put(key, object);
    }
    
}
